/****************************************************/
 
/* Project Name:部门信息管理                             */
 
/* File Name:TdcDepartmentService           */
 
/* Date:2017年3月22日下午17:03:12            */
 
/* Description:部门信息的service的方法层       */
 /****************************************************/
package com.thinkgem.jeesite.modules.tdc.department.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.tdc.department.entity.TdcDepartment;
import com.thinkgem.jeesite.modules.tdc.department.dao.TdcDepartmentDao;

/**
 * 部门信息Service
 * @author 孙瑞曦
 * @version 2017-03-20
 */
@Service
@Transactional(readOnly = true)
public class TdcDepartmentService extends CrudService<TdcDepartmentDao, TdcDepartment> {

	public TdcDepartment get(String id) {
		return super.get(id);
	}
	
	public List<TdcDepartment> findList(TdcDepartment tdcDepartment) {
		return super.findList(tdcDepartment);
	}
	
	public Page<TdcDepartment> findPage(Page<TdcDepartment> page, TdcDepartment tdcDepartment) {
		return super.findPage(page, tdcDepartment);
	}
	
	@Transactional(readOnly = false)
	public void save(TdcDepartment tdcDepartment) {
		super.save(tdcDepartment);
	}
	
	@Transactional(readOnly = false)
	public void delete(TdcDepartment tdcDepartment) {
		super.delete(tdcDepartment);
	}
	
}